package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the per_ema_ts database table.
 * 
 */
@Entity
@Table(name="per_ema_ts")
@NamedQuery(name="PerEmaTs.findAll", query="SELECT p FROM PerEmaTs p")
public class PerEmaTs implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int tsid;

	//bi-directional many-to-one association to PerEmaOut
	@ManyToOne
	@JoinColumn(name="OUTID")
	private PerEmaOut perEmaOut;

	//bi-directional many-to-one association to PerEmaTm
	@ManyToOne
	@JoinColumn(name="TMZID")
	private PerEmaTm perEmaTm;

	public PerEmaTs() {
	}

	public int getTsid() {
		return this.tsid;
	}

	public void setTsid(int tsid) {
		this.tsid = tsid;
	}

	public PerEmaOut getPerEmaOut() {
		return this.perEmaOut;
	}

	public void setPerEmaOut(PerEmaOut perEmaOut) {
		this.perEmaOut = perEmaOut;
	}

	public PerEmaTm getPerEmaTm() {
		return this.perEmaTm;
	}

	public void setPerEmaTm(PerEmaTm perEmaTm) {
		this.perEmaTm = perEmaTm;
	}

}